package cn.iocoder.yudao.module.design.controller.admin.house.vo;

import cn.iocoder.yudao.framework.common.validation.Mobile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Size;

@Data
public class HouseUserRelVO {

    @Schema(description = "用户昵称")
    @Size(max = 30, message = "用户昵称长度不能超过30个字符")
    private String nickname;

    @Schema(description = "手机号码", example = "15601691300"  ,required = true)
    @Mobile
    private String mobile;

    @Schema(description = "角色Id" ,required = true)
    private String roleId;


    @Schema(description = "关联人昵称" )
    private String remarkName;

}
